package com.qbq.transport;

/**
 * @description:
 * @author: QiaoBiQing
 * @date: Created in 2020/5/15 10:47
 * @version: 1.0
 * @modified By:
 */
public class Ship extends MaritimeMeansOfTransport{


    @Override
    public void drivingMethod() {
        System.out.println("driving " +getId());
    }

    public Ship() {
    }

    public Ship(String id) {
        super(id);
    }
}
